package lovo.practice_7_13;

/**
 * 扑克牌类
 */
public class Card {
    private String point;
    private String type;
    private int pointvalue;
    private int typevalue;

    public int getPointvalue() {
        return pointvalue;
    }

    public int getTypevalue() {
        return typevalue;
    }

    public Card() {
    }

    public Card(String point, String type) {
        this.point = point;
        this.type = type;
    }

    public Card(String point, String type, int pointvalue, int typevalue) {
        this.point = point;
        this.type = type;
        this.pointvalue = pointvalue;
        this.typevalue = typevalue;
    }

    @Override
    public String toString() {
        return  point+"_"+type;
    }

    public String getPoint() {
        return point;
    }

    public String getType() {
        return type;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public void setType(String type) {
        this.type = type;
    }

}
